package com.erp.shop.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.core.annotation.ExcelDictFormat;
import com.ruoyi.common.core.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 店铺自动刊登配置视图对象 erp_seller_store_empower_auto_push
 *
 * @author erp
 * @date 2023-09-06
 */
@Data
@ExcelIgnoreUnannotated
public class ErpSellerStoreEmpowerAutoPushVo {

    private static final long serialVersionUID = 1L;

    /**
     * 店铺自动刊登配置表
     */
    @ExcelProperty(value = "店铺自动刊登配置表")
    private Long id;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 店铺id
     */
    @ExcelProperty(value = "店铺id")
    private Long storeId;

    /**
     * 定价模板id
     */
    @ExcelProperty(value = "定价模板id")
    private Long templateId;

    /**
     * 类目ids（;拼接）
     */
    @ExcelProperty(value = "类目ids", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = ";=拼接")
    private String categoryIds;

    /**
     * 刊登间隔：分钟（初期设置字典）
     */
    @ExcelProperty(value = "刊登间隔：分钟", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "初=期设置字典")
    private Integer interval;

    /**
     * 品牌ids（;拼接）（-1代表无品牌）
     */
    @ExcelProperty(value = "品牌ids", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = ";=拼接")
    private String brandIds;

    /**
     * 状态（0关闭 1开启）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=关闭,1=开启")
    private Integer status;


}
